package com.mybatis.mapper;

import com.mybatis.domain.Blog;
import com.mybatis.domain.BlogComment;
import com.mybatis.domain.Comment;
import com.mybatis.domain.User;

import java.util.List;

public interface BlogMapper {
    Blog selectBlogById(Integer id);

    Blog selectBlogByIdLazy(Integer id);

    List<BlogComment> selectBlogByIdJoin(Integer id);

    User selectUserById(Integer id);

    Comment selectCommentsById(Integer id);
}
